<template>
    <div id="My-Middle-Box">
        <div id="My-Middle-content">
            <ul>
                <li>
                    <i class="iconfont icon-jiarushujia_01"></i>
                    <span>书架</span>
                </li>
                <li>
                    <i class="iconfont icon-yigouxiangmu"></i>
                    <span>已购</span>
                </li>
                <li>
                    <i class="iconfont icon-fufeizixun"></i>
                    <span>付费咨询</span>
                </li>
                <li>
                    <i class="iconfont icon-huodong"></i>
                    <span>活动广场</span>
                </li>
                <li>
                    <i class="iconfont icon-qianbao"></i>
                    <span>钱包</span>
                </li>
                <li>
                    <i class="iconfont icon-jiarushujia_01"></i>
                    <span>社区共建</span>
                </li>
                <li   @click="help()">
                    <i class="iconfont icon-fankui"></i>
                    <span>反馈与帮助</span>
                </li>
                <li>
                    <i class="iconfont icon-jiarushujia_01"></i>
                    <span>邀新得红包</span>
                </li>
            </ul>
        </div>
    </div>
</template>

<script>
    export default {
        name: "Middle",
        methods:{
            help(){
                this.$router.push("/help");
            }
        }
    }
</script>

<style lang="scss" scoped>
    #My-Middle-Box{
        width: 100%;
        margin-top: 0.07rem;
        padding: 0 0.14rem;
    }

    #My-Middle-content{
        width: 3.32rem;
        height: 1.44rem;
        background-color: #fff;
        border-radius: 0.09rem;

        ul{
            height: 100%;
            display: flex;
            justify-content: flex-start;
            align-items: center;
            flex-wrap: wrap;

            li{
                width: 25%;
                height: 50%;
                display: flex;
                justify-content: center;
                align-items: center;
                flex-direction: column;

                i{
                    font-size: 0.23rem;
                    color: #000000;
                }

                span{
                    display: block;
                    margin-top: 0.09rem;
                    color: #2a2a2a;
                    font-size: 0.12rem;
                }
            }
        }
    }
</style>